package cn.yup.mapper;

import cn.yup.domain.Sample;
import cn.yup.query.QueryObject;
import cn.yup.query.SampleQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SampleMapper {

         /*
         修饰符  返回值类型  方法名称（参数类型）{

          }*/

         List<Sample> findAll(SampleQueryObject queryObject);

        int deleteById(Long id);


    void save(Sample Sample);

    Sample findById(Long id);

    void updateById(Sample Sample);

    List<Sample> selectAll();

    void insertSamples(@Param("list") List<Sample> samples);
}
